package com.xq.jltx.ffmpeg;

import android.util.Log;

/**
 * @author jltxseo
 * Created by junlintianxia on 2019/03/31.
 */
public class FFmpegCmd {
    // Used to load the 'native-lib' library on application startup.
    static {
        System.loadLibrary("ffmpegCmd");
    }

    public static native int exec(int argc,String[] argv);

    /**
     * ffmpeg的c++层回调当前处理的视频进度
     * @param proTime
     */
    public static  void onExecProgress(long proTime, long duration){
        Log.d("HHHHH","测试,proTime:"+proTime+",duration:"+duration+",thread:"+Thread.currentThread());
    }
}
